import { http } from '@/utils/http'
// 登录获取Token
// 新房信息
export const getNewHouseAPI = (data: any) => {
  return http({
    method: 'GET',
    url: '/admin-api/house/sell-house/get',
    data,
  })
}
// 新房分页
export const getNewHousePageAPI = (data: any) => {
     // 设置 headers
     const headers = {
      'tenant-id': "1",
    };
  return http({
    method: 'GET',
    url: '/admin-api/house/sell-house/page',
    data,
    header:headers
  })
}
//新房收藏信息分页
export const getNewHouseCollectionPageAPI = (data: any) => {
  return http({
    method: 'GET',
    url: '/app-api/house/favorite/app/sell-house-page',
    data,
  })
}
